<?php include_partial('global/navbar') ?>
<br/><br/>
<div class="content_nav">
    <div class="wrap">
            <div class="panel panel-primary">
                <div class="panel-heading">
                    <h3 class="panel-title">您通过微美贷平台已赚取 <?php echo sfConfig::get('app_symbol').  number_format($current_principal_money,2)?> </h3>
                </div>
                <div class="panel-body">
                    <div class="col-xs-5">
                        <table class="table counttable">
                            <tbody>
                                <tr>
                                    <td>已赚利息</td>
                                    <td id="yz-lx"><?php echo sfConfig::get('app_symbol').  number_format($current_principal_money,2)?></td>
                                </tr>
                                <tr>
                                    <td>已赚罚息</td>
                                    <td id="yz-fy"><?php echo sfConfig::get('app_symbol').  number_format(0,2)?></td>
                                </tr>
                                <tr class="line">
                                    <td>总计</td>
                                    <td><?php echo sfConfig::get('app_symbol').  number_format($current_principal_money,2)?></td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                   <div class="col-xs-7">
                        <canvas name="countCanvas" class="countCanvas" width="400" height="170"></canvas>
                    </div>
                </div>
            </div>
            <div class="panel panel-primary">
                <div class="panel-heading">
                    <h3 class="panel-title">您通过微美贷累计投资 <?php echo sfConfig::get('app_symbol').number_format($sum_result['current_principal_money'],2)?></h3>
                </div>
                <div class="panel-body">
                    <div class="col-xs-5">
                        <table class="table counttable">
                            <tbody>
                                <tr>
                                    <td>房产抵押贷</td>
                                    <td id="d-fc"><?php echo sfConfig::get('app_symbol').number_format($result_loan_money[2],2);?></td>
                                </tr>
                                <tr>
                                    <td>票据贷</td>
                                    <td id="d-sp"><?php echo sfConfig::get('app_symbol').number_format($result_loan_money[3],2);?></td>
                                </tr>
                                <tr>
                                    <td>企业经营贷</td>
                                    <td id="d-qy"><?php echo sfConfig::get('app_symbol').number_format($result_loan_money[1],2);?></td>
                                </tr>
                                <tr>
                                    <td>消费周转贷</td>
                                    <td id="d-xf"><?php echo sfConfig::get('app_symbol').number_format($result_loan_money[4],2);?></td>
                                </tr>
                                <tr>
                                    <td>应收安全贷</td>
                                    <td id="d-ys"><?php echo sfConfig::get('app_symbol').number_format($result_loan_money[5],2);?></td>
                                </tr>
                                <tr>
                                    <td>普通借款</td>
                                    <td id="d-pt"><?php echo sfConfig::get('app_symbol').number_format($result_loan_money[6],2);?></td>
                                </tr>
                                <tr class="line">
                                    <td>总计</td>
                                    <td><?php echo sfConfig::get('app_symbol').number_format($sum_result['current_principal_money'],2);?></td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="col-xs-7">
                        <canvas name="countCanvas" class="countCanvas" width="400" height="280"></canvas>
                    </div>
                </div>
            </div>
            <div class="panel panel-primary">
                <div class="panel-heading">
                    <h3 class="panel-title">您在微美贷累计充值和取现</h3>
                </div>
                <div class="panel-body">
                    <div class="col-xs-5">
                        <table class="table counttable">
                            <tbody>
                                <tr>
                                    <td>充值总金额</td>
                                    <td id="cz-j"><?php echo sfConfig::get('app_symbol').number_format($user_account->getRecharge(),2)?></td>
                                </tr>
                                <tr>
                                    <td>取现总金额</td>
                                    <td id="qx-j"><?php echo sfConfig::get('app_symbol').number_format($next_money['next_money'],2)?></td>
                                </tr>
                            </tbody>
                        </table>
                    </div>

                </div>
            </div>
        <h5>温馨提示：此数据为统计非实时数据。数据最后更新时间：暂无</h5>
    </div>
</div>
<input type="hidden" value="lend" id="thisRole"/>
<script type="text/javascript">
    var countview = new countview();

    $("#10003 ,#10019").addClass('on');
   
</script>
